const inventory = [
  {
    name: "inventory",
    path: "/inventory",
    hidden: false,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    permissions: "inventory",
    meta: {
      title: "仓库管理",
      noCache: false,
      link: null,
    },
    children: [
      {
        name: "inventoryTotalIndex",
        path: "inventoryTotalIndex",
        hidden: false,
        component: "inventory/inventoryTotal/inventoryTotalIndex",
        permissions: "inventory:inventorytotal:list",
        meta: {
          title: "库存统计",
          noCache: false,
          link: null,
        },
      },
      {
        name: "goodsTotalIndex",
        path: "goodsTotalIndex",
        hidden: false,
        component: "inventory/goodsTotal/goodsTotalIndex",
        permissions: "inventory:goodstotal:list",
        meta: {
          title: "商品查询",
          noCache: false,
          link: null,
        },
      },
      {
        name: "storageLocation",
        path: "storageLocation",
        hidden: false,
        component: "inventory/storageLocation/storageLocationIndex",
        permissions: "inventory:locationtotal:list",
        meta: {
          title: "库位查询",
          noCache: false,
          link: null,
        },
      },
      {
        name: "inventoryMoveIndex",
        path: "inventoryMoveIndex",
        hidden: false,
        component: "inventory/inventoryMove/inventoryMoveIndex",
        permissions: "inventory:inventorymove:list",
        meta: {
          title: "商品移动",
          noCache: false,
          link: null,
        },
      },
      {
        name: "adjustIndex",
        path: "adjustIndex",
        hidden: false,
        component: "inventory/inventoryAdjust/adjustIndex",
        permissions: "inventory:adjust:list",
        meta: {
          title: "库存调拨",
          noCache: false,
          link: null,
        },
      },
      {
        name: "inventoryTakeIndex",
        path: "inventoryTakeIndex",
        hidden: false,
        component: "inventory/inventoryTake/inventoryTakeIndex",
        permissions: "inventory:inventorytake:list",
        meta: {
          title: "库存盘点",
          noCache: false,
          link: null,
        },
      },
      // {
      //   name: "inventoryMoveIndex",
      //   path: "inventoryMoveIndex",
      //   hidden: false,
      //   component: "inventory/inventoryMove/inventoryMoveIndex",
      //   permissions: "storage",
      //   meta: {
      //     title: "库存移动",
      //     noCache: false,
      //     link: null,
      //   },
      // },
      {
        name: "outStorageCostIndex",
        path: "outStorageCostIndex",
        hidden: false,
        component: "inventory/outStorageCostTotal/outStorageCostIndex",
        permissions: "inventory:outstoragecost:list",
        meta: {
          title: "出库成本统计",
          icon: "#",
          noCache: false,
          link: null,
        },
      },
    ],
  },
];
export default inventory;
